package com.beecloud.microservice.user.entities;

public class UserEntity {
    private String userId;

    private String nickName;
    
    private String phone;
    
    private String email;
    
    private String userName;
    
    private String password;
    
    private String driverLicense;

    private String userRole;

    public UserEntity() {
    }

    public UserEntity(String userId, String nickName, String phone, String email, String userName, String password, String driverLicense, String userRole) {
        this.userId = userId;
        this.nickName = nickName;
        this.phone = phone;
        this.email = email;
        this.userName = userName;
        this.password = password;
        this.driverLicense = driverLicense;
        this.userRole = userRole;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDriverLicense() {
        return driverLicense;
    }

    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "userId='" + userId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", driverLicense='" + driverLicense + '\'' +
                ", userRole='" + userRole + '\'' +
                '}';
    }
}
